from django.db import models;


# Create your models here.


class UserInfo(models.Model):
    '''用户注册需提供的信息'''
    phoneNum = models.CharField(max_length=15)
    userName = models.CharField(max_length=15)
    password = models.CharField(max_length=12)
    nickName = models.CharField(max_length=20)

    class Meta:
        '''通过元类,修改表明'''
        db_table = 'userInfo'

